﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace UI
{
    public partial class AddForm : System.Web.UI.Page
    {
        String[] list = { "hjome", "dfd", "dfsf", "kjk" };

        protected void Page_Load(object sender, EventArgs e)
        {
            MakeTable();
        }

        private void MakeTable()
        {
            foreach (string info in list)
            {
                table.Controls.Add(TableCreator.RowWithLabelAndTextBox(info));
            }
        }
    }
}